Skip to content

Bump mongoose and @typegoose/typegoose#101

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-e0bdec36ea
Open

Bump mongoose and @typegoose/typegoose#101
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/multi-e0bdec36ea

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2026

Bumps mongoose and @typegoose/typegoose. These dependencies needed to be updated together.
Updates mongoose from 8.21.0 to 9.1.5

Release notes

Sourced from mongoose's releases.

9.1.5 / 2026-01-20

9.1.4 / 2026-01-15

9.1.3 / 2026-01-09

  • fix(model): support timestamps option to insertMany() as both boolean and QueryTimestampsConfig #15941 #15938
  • fix(query): include preview of current and incoming update in error when merging normal update with pipeline #15939 #15928
  • types(model): apply basic type casting to paths underneath subdocuments #15948 #15947
  • types(utility): make WithLevel1NestedPaths correctly handle PopulatedDoc and other TypeScript unions with Document members #15942 #15923
  • docs(schema): expose "DocumentArrayElement" #15590 hasezoey

9.1.2 / 2025-01-05

9.1.1 / 2025-12-30

  • fix(document): avoid 'Cannot mix array and object updates' on doc.updateOne() with pipeline #15928
  • docs: update default search version to 9.x #15926 #15925

9.1.0 / 2025-12-29

  • feat(model): make pathsToSave handle saving just a subpath of a modified path #15896
  • feat(document+model): pass options to pre('deleteOne') and update+options to pre('updateOne') hooks #15908 #15870
  • feat(versioning): optimistic concurrency exclude option, update docs for optimisticConcurrency options #15917 #15915 #15912 AbdelrahmanHafez
  • feat(document): add support for getAtomics() to allow custom container types to utilize atomics #15817
  • perf: optimize Object.keys() checks and optional chaining #15865 AbdelrahmanHafez
  • fix: add support for typescript style enums #15914 #15913 mjfwebb
  • fix(document): when cloning a doc with subdocs, make sure the subdocs parent is the cloned doc #15904 #15901
  • types(models): support Mongoose query casting in AnyBulkWriteOperation filter property #15918 #15910
  • types: allow calling create() with TRawDocType for better generics support #15903 #15902
  • types(document): add id virtual getter by default to HydrateDocument<> if TOverrides is Record<string, never> #15906 #15900
  • docs(schema): add lean to list of schema options #15907 #15894 #12081

9.0.2 / 2025-12-17

... (truncated)

Changelog

Sourced from mongoose's changelog.

9.1.5 / 2026-01-20

9.1.4 / 2026-01-15

9.1.3 / 2026-01-09

  • fix(model): support timestamps option to insertMany() as both boolean and QueryTimestampsConfig #15941 #15938
  • fix(query): include preview of current and incoming update in error when merging normal update with pipeline #15939 #15928
  • types(model): apply basic type casting to paths underneath subdocuments #15948 #15947
  • types(utility): make WithLevel1NestedPaths correctly handle PopulatedDoc and other TypeScript unions with Document members #15942 #15923
  • docs(schema): expose "DocumentArrayElement" #15590 hasezoey

9.1.2 / 2026-01-05

9.1.1 / 2025-12-30

  • fix(document): avoid 'Cannot mix array and object updates' on doc.updateOne() with pipeline #15928
  • docs: update default search version to 9.x #15926 #15925

9.1.0 / 2025-12-29

  • feat(model): make pathsToSave handle saving just a subpath of a modified path #15896
  • feat(document+model): pass options to pre('deleteOne') and update+options to pre('updateOne') hooks #15908 #15870
  • feat(versioning): optimistic concurrency exclude option, update docs for optimisticConcurrency options #15917 #15915 #15912 AbdelrahmanHafez
  • feat(document): add support for getAtomics() to allow custom container types to utilize atomics #15817
  • perf: optimize Object.keys() checks and optional chaining #15865 AbdelrahmanHafez
  • fix: add support for typescript style enums #15914 #15913 mjfwebb
  • fix(document): when cloning a doc with subdocs, make sure the subdocs parent is the cloned doc #15904 #15901
  • types(models): support Mongoose query casting in AnyBulkWriteOperation filter property #15918 #15910
  • types: allow calling create() with TRawDocType for better generics support #15903 #15902
  • types(document): add id virtual getter by default to HydrateDocument<> if TOverrides is Record<string, never> #15906 #15900
  • docs(schema): add lean to list of schema options #15907 #15894 #12081
Commits
  • 22643d6 chore: release 9.1.5
  • 87ffed8 Merge pull request #15967 from Automattic/vkarpov15/correct-raw-doc-type-subdocs
  • f9bdfa2 Merge pull request #15974 from Automattic/gh-15966
  • 76753bf style: break up ternary
  • b9dc767 Merge pull request #15971 from harshsinghpujari/docs-typescript-grammer-fix
  • 0cb75cb handling for _id option
  • c8e5cb9 fix(discriminator): skip merging parentSchema to prevent duplication in child...
  • 853e612 test(discriminator): add tests asserting queues are not duplicated for nested...
  • 57bc5c8 test(discriminator): add tests to verify nested discriminator indexes do not ...
  • c7549db docs: improve grammar and clarity in TypeScript schema comments
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for mongoose since your current version.


Updates @typegoose/typegoose from 12.21.0 to 13.1.0

Release notes

Sourced from @​typegoose/typegoose's releases.

v13.1.0

13.1.0 (2026-01-16)

Dependencies

  • mongoose: upgrade to 9.1.4 (ea5188b)

v13.0.1

13.0.1 (2026-01-13)

Fixes

  • pass along merged "IModelOptions" to "processProp" and then to "warnMixed" (5d4db21), closes #1024
  • types::IGlobalOptions: remove "disableLowerIndexes" properties from "options" (731a36b)

v13.0.1-beta.1

13.0.1-beta.1 (2026-01-13)

Fixes

  • pass along merged "IModelOptions" to "processProp" and then to "warnMixed" (5d4db21), closes #1024
  • types::IGlobalOptions: remove "disableLowerIndexes" properties from "options" (731a36b)

v13.0.0

13.0.0 (2025-12-22)

⚠ BREAKING CHANGES

  • mongoose: mongoose 9.0.0
  • tsconfig.json: tsconfig "target" is now "es2023" which could be potentially breaking
  • package.json: Minimal NodeJS version is now 20.19.0

Features

  • apply global options at build-time (21aa014), closes #939
  • package.json: update nodejs version to 20.19 (483f81f)
  • tsconfig.json: update "target" to match minimal NodeJS capabilities (6ff88a7)

Fixes

  • types: manually add the "id" virtual now (5f56fb9)

Style

  • migrate to eslint flat config (eaa99e2)

Dependencies

... (truncated)

Changelog

Sourced from @​typegoose/typegoose's changelog.

13.1.0 (2026-01-16)

Dependencies

  • mongoose: upgrade to 9.1.4 (ea5188b)

13.0.1 (2026-01-13)

Fixes

  • pass along merged "IModelOptions" to "processProp" and then to "warnMixed" (5d4db21), closes #1024
  • types::IGlobalOptions: remove "disableLowerIndexes" properties from "options" (731a36b)

13.0.1-beta.1 (2026-01-13)

Fixes

  • pass along merged "IModelOptions" to "processProp" and then to "warnMixed" (5d4db21), closes #1024
  • types::IGlobalOptions: remove "disableLowerIndexes" properties from "options" (731a36b)

13.0.0 (2025-12-22)

⚠ BREAKING CHANGES

  • mongoose: mongoose 9.0.0
  • tsconfig.json: tsconfig "target" is now "es2023" which could be potentially breaking
  • package.json: Minimal NodeJS version is now 20.19.0
  • tsconfig.json: tsconfig "target" is now "es2022" which could be potentially breaking
  • package.json: Minimal NodeJS version is now 18.0.0

Features

  • apply global options at build-time (21aa014), closes #939
  • package.json: update nodejs version to 18.0 (5682b6b)
  • package.json: update nodejs version to 20.19 (483f81f)
  • tsconfig.json: update "target" to match minimal NodeJS capabilities (6ff88a7)
  • tsconfig.json: update "target" to match minimal NodeJS capabilities (2074c56)

Fixes

  • types: manually add the "id" virtual now (5f56fb9)

Style

  • migrate to eslint flat config (eaa99e2)

Dependencies

  • mongoose: upgrade to 9.0 GIT (9cedc31)
  • mongoose: upgrade to 9.0 GIT (ca069ec)

... (truncated)

Commits
  • 00f8428 release: v13.1.0
  • ea5188b deps(mongoose): upgrade to 9.1.4
  • de2d01d release: v13.0.1
  • e9a5ee2 release: v13.0.1-beta.1
  • 731a36b fix(types::IGlobalOptions): remove "disableLowerIndexes" properties from "opt...
  • 5d4db21 fix: pass along merged "IModelOptions" to "processProp" and then to "warnMixed"
  • e51d549 chore(deps): bump qs from 6.14.0 to 6.14.1 in /website (#1023)
  • e22634e docs(quick-start-guide): fix missing version increase
  • cc94b2c chore(workflows/website): force re-deploy on package.json change
  • 360c11b release: v13.0.0
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mongoose](https://github.com/Automattic/mongoose) and [@typegoose/typegoose](https://github.com/typegoose/typegoose). These dependencies needed to be updated together.

Updates `mongoose` from 8.21.0 to 9.1.5
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@8.21.0...9.1.5)

Updates `@typegoose/typegoose` from 12.21.0 to 13.1.0
- [Release notes](https://github.com/typegoose/typegoose/releases)
- [Changelog](https://github.com/typegoose/typegoose/blob/master/CHANGELOG.md)
- [Commits](typegoose/typegoose@v12.21.0...v13.1.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.1.5
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@typegoose/typegoose"
  dependency-version: 13.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants